package com.neusoft.elm.dao;

import com.neusoft.elm.po.Business;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface BusinessDao {
@Select("select * from business where orderTypeId=#{orderTypeId}")
     List<Business> listBusinessByOrderTypeId(Integer orderTypeId) throws Exception;
@Select("select * from business where businessId=#{businessId}")
     Business getBusinessById(Integer businessId) throws Exception;
}
